<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
    <link href='<?php echo base_url().'public/backend/css/admin.css';?>' rel='stylesheet' type='text/css' />
    <title>Dang nhap he thong</title>
</head>
<body>
<div id='backend' class="main">
    <div id='header'>
        <h2>Trang Quản Trị CodeIgniter</h2>
        <div id="login">
            <span>Tên đăng nhập : </span><a href=""><?php echo $this->session->userdata('username')?></a> |
            <a href="<?php echo base_url();?>backend/user/logout">Thoát</a>
        </div>
    </div>
    <!-- END HEADER -->
    <div id="navigate" class="wrap">
        <ul class="backend_menu">
            <li class="first"><a href="<?php echo base_url()."backend/home";?>">Trang chủ</a></li>
            <li><span>Thành viên</span>
                <ul class="level2">
                    <li class="level2"><a href="<?php echo base_url()."backend/user/listuser";?>">Danh sách thành viên</a></li>
                    <li class="level2"><a href="<?php echo base_url()."backend/user/adduser";?>">Thêm thành viên</a></li>
                </ul>
            </li>
            <li><span>Bài viết</span>
                <ul class="level2">
                    <li class="level2"><a href="<?php echo base_url()."backend/artice/listartice";?>">Danh sách bài viết</a></li>
                    <li class="level2"><a href="<?php echo base_url()."backend/artice/addartice";?>">Thêm bài viết</a></li>
                </ul>
            </li>
            <li><span>Menu</span>
                <ul class="level2">
                    <li class="level2"><a href="<?php echo base_url()."backend/menu/listartice";?>">Danh sách menu</a></li>
                    <li class="level2"><a href="<?php echo base_url()."backend/menu/addartice";?>">Thêm menu</a></li>
                </ul>
            </li>
           
        </ul>
    </div>
    <!-- END NAVIGATE -->
    <div id="content">
    <?php 
        
    echo $page;
    $this->load->view($page);
    
    
    ?>
    </div>
    <!-- END CONTENT -->
    <div id="footer">
        <p>Tốc độ tải trang : {elapsed_time}</p>
    </div>
     <!-- END FOOTER -->
</div>
</body>
</html>